package md.mru.core.dtos;

import java.io.Serializable;
import java.util.List;

/**
 * @author sergiu.marin
 * @since 19.05.2014.
 */
public class OrdersWrapper implements Serializable {

    private static final long serialVersionUID = 808206861592512758L;

    private List<OrderDto> orders;
    private long totalElements;

    public OrdersWrapper(List<OrderDto> orders, long totalElements) {
        this.orders = orders;
        this.totalElements = totalElements;
    }

    public List<OrderDto> getOrders() {
        return orders;
    }

    public long getTotalElements() {
        return totalElements;
    }
}
